<template>
   <div class="app-container ">
      <el-card>
        <el-form ref="form" :model="form" label-width="100px">
            <div class="create-title">基础信息</div>
            <el-form-item label="雷达标题:" size="small" required>
                <el-input v-model="form.title" style="width:500px"></el-input>
            </el-form-item>
            <el-form-item label="雷达连接:" size="small" required>
                <el-input v-model="form.link" style="width:500px"></el-input>
            </el-form-item>
            <div class="create-title">链接追踪设置</div>
            <el-form-item label="行为通知：" size="small">
              <el-switch v-model="form.address"></el-switch>
              <div class="text-gray"> 开启后当客户点击雷达链接时，将会收到</div>
            </el-form-item>
            <el-form-item label="动态通知：" size="small">
              <el-switch v-model="form.address"></el-switch>
              <div class="text-gray">  开启后会将客户的打开行为记录在客户动态 </div>
            </el-form-item>
            <el-form-item label="客户标签：" size="small">
              <el-switch v-model="form.address"></el-switch>
              <div class="text-gray">  给点击雷达链接的客户打上选中的标签 </div>
            </el-form-item>
            <el-form-item label="客户评分：" size="small">
              <el-switch v-model="form.address"></el-switch>
              <div class="text-gray">  开启后给满足规则的客户打上对应标签 </div>
            </el-form-item>
            <el-button type="primary" size="small">创建雷达链接</el-button>
        </el-form>
      </el-card>
   </div>
</template>

<script>
export default {
   data(){
       return{
           form:{},
           type:''
       }
   },
   created(){
      this.type=this.$route.query.type
   },
   methods:{

   }
}
</script>

<style>
.create-title{
    font-weight: 14px;
    color: #000;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 15px;
}
.text-gray{
    font-size: 13px;
    color: rgba(0,0,0,.45);
}
</style>